import request from '@/utils/request'

// 获取用户列表
export function getUserList(params) {
  return request.get('/system_user/getList', params)
}

// 新增/更新用户
export function updateUser(data) {
  return request.post('/system_user/update', data)
}

// 删除用户
export function deleteUser(ids) {
  return request.get('/system_user/delete', ids)
}

// 修改密码
export function updatePassword(data) {
  return request.post('/system_user/updatePassword', data)
}

export function updatePersonal(data){
  return request.post('/system_user/updatePersonal', data)
}

export function resetPassword(params){
  return request.get('/system_user/resetPassword', params)
}
